Behavioural Subtyping and Property Preservation for Objects Oriented Formalisms
نویسنده
چکیده
Behavioural typing and subtyping has proved to be a very useful concept for the support of incremental reuse in the area of object-oriented (O-O) languages. With the emergence of formalisms integrating the O-O approach and concurrency, the question arises how behavioural subtyping may be supported by such formalisms. We present a formal framework for the definition of behavioural subtyping in O-O concurrent systems. This framework is based upon the preorder relations which are considered in the study of concurrent systems, allowing to define various subtyping relations. We investigate the property preservation to the degree of change of these subtyping relations, safety and liveness properties are preserved up to different extents.
منابع مشابه
Behavioural Types in CoOperative Objects
Behavioural typing and subtyping has proved to be a very useful concept for the support of incremental reuse in the area of object-oriented (O-O) languages. With the emergence of formalisms integrating the O-O approach and Petri nets, the question arises how behavioural subtyping may be supported by such formalisms. We present a formal framework for the definition of behavioural typing in CoOpe...
متن کاملPatterns and Rules for Behavioural Subtyping
Subtyping relations for object-oriented formalisms describe relationships between superand subclasses which satisfy the substitutability requirement imposed on types and their subtypes. Behavioural subtyping is concerned with subtypes for active classes with an explicit dynamic behaviour, specifiable for instance by object-oriented formal methods combining state-based with behavioural formalism...
متن کاملSubtyping patterns for active objects
Subtyping relations for object-oriented formalisms describe relationships between superand subclasses which satisfy the substitutability requirement imposed on types and their subtypes. For active objects with an associated behaviour description subtyping relations also have to guarantee substitutability with respect to the dynamic behaviour of classes. In this paper, we give subtyping patterns...
متن کاملBehavioural Subtyping Relations for Object-Oriented Formalisms
In this paper we investigate the object-oriented notion of subtyping in the context of behavioural formalisms. Subtyping in OO-formalisms is closely related to the concept of inheritance. The central issue in the choice of subtyping relations among classes is the principle of substitutability: an instance of the subtype should be usable wherever an instance of the supertype was expected. Depend...
متن کاملBehavioural Subtyping and Property Preservation
Inheritance is one of the key features in object-oriented design and analysis. It especially supports an incremental development by allowing to stepwise add new functionality to an existing system design. When using a subclass which is a specialisation of a certain superclass, the question arises which of the superclass’ properties still hold for the subclass. We investigate this topic for thre...
متن کامل